{config_load file="$language/lang.conf" section="index"}

<!-- Контейнер -->
<div id="wrapper">
	<div class="top-menu">
		{$box_CURRENCIES}
		{$box_LANGUAGES}
		{$box_CART}
		<div class="clear"></div>
	</div>

	<div class="header">
		<h1><a href="/" title="{$store_name}">{$store_name}</a></h1>
		<div class="search">{$box_SEARCH}</div>
		<div class="clear"></div>
	</div>

	<div class="top-banner">
		<a href="#"><img src="{$tpl_path}image/banner1.jpg" width="857" height="192" alt="" border="0" /></a>
	</div>
	<div class="top-nav">
		<div class="left"></div>
			<ul class="bold">
				<li{$1}><a class="border-r" href="{$mainpage}">{#text_mainpage#}</a></li>
				<li><a class="border-r" href="{$price_list}">{#price_list#}</a></li>
				{if $account}{if $smarty.session.customer_id}
				<li{$2}><a class="border-r" href="{$account}">{#link_account#}</a></li>
				{/if}{/if}
				<li{$3}><a class="border-r" href="{$cart}">{#link_cart#}</a></li>
				<li{$4}><a class="border-r" href="{$checkout}">{#link_checkout#}</a></li>
				{if $account}{if $smarty.session.customer_id}
				<li{$5}><a href="{$logoff}">{#link_logoff#}</a></li>
				{else}
				<li{$6}><a href="{$login}">{#link_login#}</a></li>
				{/if}
				{/if}
			</ul>
		<div class="right"></div>
	</div>

	<div class="navtrail">{$navtrail}</div>
	
	<div id="middle">

		<div id="container">
			<div id="content">
			{$main_content}
			</div><!-- #content-->
		</div><!-- #container-->

		<div class="sidebar sl">
{$box_CATEGORIES}
{$box_CONTENT}
{$box_INFORMATION}
{$box_ADD_QUICKIE}
{$box_LAST_VIEWED}
{$box_REVIEWS}
{$box_SPECIALS}
{$box_FEATURED}
{$box_LATESTNEWS}
{$box_ARTICLES}
{$box_ARTICLESNEW}
{$box_AUTHORS}
{$box_LOGIN}
{$box_ADMIN}
{$box_DOWNLOADS}
{$box_AFFILIATE}
{$box_WHATSNEW}
{$box_NEWSLETTER}
{$box_BESTSELLERS}
{$box_INFOBOX}
{$box_MANUFACTURERS}
{$box_MANUFACTURERS_INFO}
{$box_FAQ}
		</div><!-- .sidebar.sl -->

	</div><!-- #middle-->

</div><!-- #wrapper -->

<div id="footer">
	<p class="money"><img src="{$tpl_path}image/money.gif" width="162" height="26" alt="" border="0" /></p>
	<p class="copyright">Copyright &copy; {php}echo date('Y');{/php} <a href="http://shopos3.com">shopos3.com</a></p>

</div><!-- #footer -->